package org.sjm.samples.dao;


import java.util.List;

import org.sjm.samples.model.ExamTest;

public interface IExamTestDAO extends IBaseDAO<ExamTest> {
	
	public List<ExamTest> FindAllExamTests();
	
	public ExamTest getExamTestById(Integer id);
	
	public Integer createExamTest(ExamTest examTest) throws Exception;
	
	public Integer editExamTest(ExamTest examTest) throws Exception;
	
	public Integer deleteExamTest(Integer id) throws Exception;
	
	public List<ExamTest> getExamTestsBySubId(Integer subId);
	
	public void deleteExamTestBySubId(Integer subId);
	
	public List<Integer> getTestIdByType(Integer subId, Integer testTypeId);
	
	public List<ExamTest> getTestListByIds(List<Integer> ids);
	
	public List<ExamTest> getTestListBySubAndTestType(Integer subId, Integer testTypeId);
	
	public List<ExamTest> getTestListByIdList(List<Integer> randomTestList);
}
